package com.sunxu.ioc.domain;

import com.sunxu.ioc.annotation.Super;
import org.springframework.stereotype.Component;

/**
 * @author 孙许
 * @version 1.0
 * @date 2020/7/11 17:01
 */
@Super
public class SuperUser2 extends User {
    private boolean vip;

    public boolean isVip() {
        return vip;
    }

    public void setVip(boolean vip) {
        this.vip = vip;
    }

    @Override
    public String toString() {
        return "SuperUser2{" +
                "vip=" + vip +
                "} " + super.toString();
    }
}
